package com.salmon.rpc.test;


import com.salmon.rpc.RpcFramework;
import com.salmon.rpc.test.service.HelloService;
import com.salmon.rpc.test.service.HelloServiceImpl;

public class RpcProvider {

    public static void main(String[] args) throws Exception {
        HelloService helloService = new HelloServiceImpl();
        RpcFramework.export(helloService, 1234); // 暴露服务
    }
}
